package com.css.fxfzypg.modules.earthquakedisasterloss.repository;

import com.css.fxfzypg.modules.baseData.entity.PbeEntity;
import com.css.fxfzypg.modules.earthquakedisasterloss.entity.PlantPbe;

import java.util.List;
import java.util.Map;

/**
 * @Description: fxfzypg
 * @Author: lhl
 * @CreateDate: 2022/11/4 9:16
 */
public interface YpgResultPbeRepository {
    int savePlantPbe(PlantPbe entity);

    List<PlantPbe> getByTaskId(String taskId);

    int delPlantPbe(String taskId);

    List<PbeEntity> getPbeByTaskId(String taskId);

    List<PlantPbe> getPbeByDzIntensity(String taskId, String dzIntensity);

    List<Map<String, Object>> getPlantPbeByTaskId(String taskId,String range);

    int savePlantPbeList(List<PlantPbe> plantPbeList);

    void createResultPbeFqRel(String taskId);
}
